
import axios from '@/libs/request/axios'

export const getStatus = (params) => {
    return axios.request({
        url: '/apply/commission/getstatus',
        method: 'post',
        params:params
    });
}

export const getTypeId = (params) => {
    return axios.request({
        url: '/apply/commission/rewardtypes',
        method: 'post',
        params:params
    });
}

export const getCreditRewardList = (params) => {
    return axios.request({
        url: '/apply/commission/getlist',
        method: 'post',
        data:params
    });
}

export const getExpressList = (params) => {
    return axios.request({
        url: '/apply/commission/getExpressList',
        method: 'post',
        data:params
    });
}

export const confirmReceiveMoney = (params) => {
    return axios.request({
        url: '/apply/commission/confirmReceiveMoney',
        method: 'post',
        data:params
    });
}

export const getContractList = (params) => {
    return axios.request({
        url: '/apply/commission/getContractList',
        method: 'post',
        data:params
    });
}

export const confirmExpress = (params) => {
    return axios.request({
        url: '/apply/commission/confirmExpress',
        method: 'post',
        data:params
    });
}

export const exportFile = (params) => {
    return axios.request({
        url: '/apply/commission/export',
        method: 'get',
        params:params
    });
}
